import api, { type QueryApiBaseResultDto } from "../index";

export class UserService{
    static updateProfile(input:UpdateUserProfileInput):Promise<QueryApiBaseResultDto<boolean>>{
        return api.post('/api/AbpFundation/User/UpdateProfile',input);
    }
}

export interface UpdateUserProfileInput{
    surname:string
    introduction:string
    avatar:string
    email:string
}